Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 2 - Shape Objects / Shape Objects Reference
Functions / Manipulating Shape Object Properties


GXGetShapeStyle

You can use the GXGetShapeStyle function to determine the style object associated with a QuickDraw GX shape.

gxStyle GXGetShapeStyle(gxShape source);
source
A reference to the shape object whose style object is to be determined.
function result
A reference to the style object associated with the source shape object.
ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
shape_is_nil 
SEE ALSO
The relationship of style objects to QuickDraw GX shapes is discussed in "About QuickDraw GX Shapes" beginning on page 2-5. Style objects themselves are further discussed in the chapter "Style Objects" in this book.

To change the style object associated with a QuickDraw GX shape, use the GXSetShapeStyle function, described in the next section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996